# author Basui
# 2022/4/7 18:13
# 效仿刮刮乐模拟中奖
print("欢迎来到情侣刮奖平台")
list_1 = ["一等奖", "二等奖", "三等奖", "谢谢惠顾", "三等奖", "二等奖", "二等奖", "谢谢惠顾"]
while True>0:
    choice = int(input("请从8张中随机抽取一次:"))
    if choice == 1 :
        print(f"恭喜你获得了{list_1[0]}")
        break
    elif choice == 2 :
        print(f"恭喜你获得了{list_1[1]}")
        break
    elif choice == 3 :
        print(f"恭喜你获得了{list_1[2]}")
        break
    elif choice == 4 :
        print(f"{list_1[3]}")
        break
    elif choice == 5 :
        print(f"{list_1[4]}")
        break
    elif choice == 6 :
        print(f"恭喜你获得了{list_1[5]}")
        break
    elif choice == 7 :
        print(f"恭喜你获得了{list_1[6]}")
        break
    elif choice == 7 :
        print(f"恭喜你获得了{list_1[7]}")
        break
    else:
        print("输入错误，请重新输入")
        continue
